/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018/11/24 Time: 22:58
 *
 * 分割线组件
 */

import React, {Component} from 'react';
import {View} from 'react-native';
import PropType from 'prop-types';
import {styles} from './DividingLineViewComponent.Style';

export default class DividingLineViewComponent extends Component {

  static propTypes = {
    lineHeight: PropType.number.isRequired
  }
  render() {
    return (
      <View style={[styles.container, {height: this.props.lineHeight}]}/>
    )
  }
}